function getInterestBtnHTML(isinterest,interestcount){
	var interestclass=isinterest?"interest":"uninterest";
	var interesttext=isinterest?"取消感兴趣":"感兴趣";
	var interesttitle=isinterest?"取消对该档期的感兴趣":"表示对该档期的感兴趣";
	var html="<a class='"+interestclass+"' title='"+interesttitle+"' count='"+interestcount+"'>";
	if(interestcount!=null){
		var interestcountstr=interestcount>99999?"99999+":""+interestcount;
		html+=interesttext+"("+interestcountstr+")</a>";
	}else{
		html+=interesttext+"</a>";
	}
	return html;
}

function getFavorBtnHTML(isfavor,favorcount){
	var favorclass=isfavor?"favor":"unfavor";
	var favortext=isfavor?"取消喜欢":"喜欢";
	var favortitle=isfavor?"取消对该档期的喜欢":"喜欢该档期";
	var html="<a class='"+favorclass+"' title='"+favortitle+"' count='"+favorcount+"'>";
	var favorcountstr=favorcount>99999?"99999+":""+favorcount;
	html+=favortext+"("+favorcountstr+")</a>";
	return html;
}